import {UseGuards} from "@nestjs/common";
import {AuthGuard} from "@nestjs/passport";

export  const Auth = () => UseGuards(AuthGuard('jwt'))